package cn.wuxuan.po;

public class QueryObject {
private Integer currentPage=1;
private Integer pageSize = 10;
private String keyWord = "";

public Integer getCurrentPage() {
	return currentPage;
}
public void setCurrentPage(Integer currentPage) {
	this.currentPage = currentPage;
}
public Integer getPageSize() {
	return pageSize;
}
public void setPageSize(Integer pageSize) {
	this.pageSize = pageSize;
}
public String getKeyWord() {
	return keyWord;
}
public void setKeyWord(String keyWord) {
	this.keyWord = keyWord;
}
public Integer getBeginIdex() {
	return (currentPage-1)*pageSize;
}
@Override
public String toString() {
	return "QueryObject [currentPage=" + currentPage + ", pageSize=" + pageSize
			+ ", keyWord=" + keyWord + "]";
}


}
